<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>国贸城</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="assets/i/favicon.png">
    <link rel="stylesheet" href="./resources/css/amazeui.min.css">
    <link rel="stylesheet" href="./resources/css/app.css">
</head>
<body>
<header data-am-widget="header" class="am-header am-header-default joan-head2 ">
    <div class="am-header-left am-header-nav">
        <a href="javascript:history.back()" class="">
            <i class="am-icon-chevron-left"></i>
        </a>
    </div>
    <h1 class="am-header-title">
        <a href="" class="">我的订单</a>
    </h1>
</header>
<div class="order">
    <ul class="order">
        <li><a href="#" class="current">未完成</a></li>
        <li><a href="myordered.jsp">已完成</a></li>
        <li><a href="" style="border: 0;">已取消</a></li>
    </ul>
</div>
<div class="c-comment">
    <span class="c-comment-num">订单编号：150916517682</span>
    <span class="c-comment-suc">待付款</span>
</div>

<div class="c-comment-list" style="border: 0;">
    <c:forEach var="orderCar" items="${sessionScope.orderCar}">
        <c:if test="${orderCar.name.equals('orange')}">
            <a class="o-con" href="content.jsp">
                <div class="o-con-img"><img src="./resources/images/sc.jpg"/></div>
                <div class="o-con-txt"><p>南丰蜜桔 南丰贡桔</p><p style="color: #afafaf;">12个装</p></div>
                <div class="o-con-much"> <h4>x${orderCar.number}</h4></div>
            </a>
        </c:if>
        <c:if test="${orderCar.name.equals('apple')}">
            <a class="o-con" href="contentApple.jsp">
                <div class="o-con-img"><img src="./resources/images/apple.jpg"/></div>
                <div class="o-con-txt"><p>甘肃红富士</p><p style="color: #afafaf;">12个装</p></div>
                <div class="o-con-much"> <h4>x${orderCar.number}</h4></div>
            </a>
        </c:if>
    </c:forEach>

    <div class="c-com-money">实付金额：<span>￥ ${sessionScope.order}</span></div>
</div>
<div class="c-com-btn">
    <a href="trueorder.jsp">立即支付</a>
</div>
<div data-am-widget="navbar" class="am-navbar  am-navbar-default gm-foot"   id="">
    <ul class="am-navbar-nav am-cf am-avg-sm-4">
        <li >
            <a href="index.jsp" class="">
                <span class="am-icon-home"></span>
                <span class="am-navbar-label">首页</span>
            </a>
        </li>
        <li>
            <a href="shop.jsp" class="">
                <span class="am-icon-th-large"></span>
                <span class="am-navbar-label">商品</span>
            </a>
        </li>
        <li >
            <a href="member.jsp" class="curr">
                <span class="am-icon-user"></span>
                <span class="am-navbar-label">个人中心</span>
            </a>
        </li>
        <li>
            <a href="shopcar.jsp" class="">
                <span class="am-icon-shopping-cart"></span>
                <span class="am-navbar-label">购物车</span>
            </a>
        </li>
        <li >
            <a href="talk.jsp" class="">
                <span class="am-icon-file-text-o"></span>
                <span class="am-navbar-label">果友说</span>
            </a>
        </li>
    </ul>
</div>

<script src="./resources/js/jquery.min.js"></script>
<script src="./resources/js/amazeui.min.js"></script>
</body>

</html>